package com.example.hotfix;

/*
 * author: caojunhao
 * date  : 2021/1/5
 * desc  :
 */

import android.app.Application;
import android.content.Context;

import java.io.File;

public class MyApplication extends Application {
    @Override
    protected void attachBaseContext(Context base) {
        super.attachBaseContext(base);
        Hotfix.installPatch(this,new File("/sdcard/patch.jar"));
    }
}
